crypto/tls.Conn.in (field)

51 uses

	crypto/tls (current package)
		conn.go#L95: 	in, out   halfConn
		conn.go#L601: 	if c.in.err != nil {
		conn.go#L602: 		return c.in.err
		conn.go#L608: 		return c.in.setErrorLocked(errors.New("tls: internal error: attempted to read record with pending application data"))
		conn.go#L621: 			c.in.setErrorLocked(err)
		conn.go#L634: 		return c.in.setErrorLocked(c.newRecordHeaderError(nil, "unsupported SSLv2 handshake received"))
		conn.go#L642: 		return c.in.setErrorLocked(c.newRecordHeaderError(nil, msg))
		conn.go#L650: 			return c.in.setErrorLocked(c.newRecordHeaderError(c.conn, "first record does not look like a TLS handshake"))
		conn.go#L656: 		return c.in.setErrorLocked(c.newRecordHeaderError(nil, msg))
		conn.go#L660: 			c.in.setErrorLocked(err)
		conn.go#L667: 	data, typ, err := c.in.decrypt(record)
		conn.go#L669: 		return c.in.setErrorLocked(c.sendAlert(err.(alert)))
		conn.go#L672: 		return c.in.setErrorLocked(c.sendAlert(alertRecordOverflow))
		conn.go#L676: 	if c.in.cipher == nil && typ == recordTypeApplicationData {
		conn.go#L677: 		return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
		conn.go#L687: 		return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
		conn.go#L692: 		return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
		conn.go#L696: 			return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
		conn.go#L699: 			return c.in.setErrorLocked(io.EOF)
		conn.go#L702: 			return c.in.setErrorLocked(&net.OpError{Op: "remote error", Err: alert(data[1])})
		conn.go#L709: 			return c.in.setErrorLocked(&net.OpError{Op: "remote error", Err: alert(data[1])})
		conn.go#L711: 			return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
		conn.go#L716: 			return c.in.setErrorLocked(c.sendAlert(alertDecodeError))
		conn.go#L720: 			return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
		conn.go#L731: 			return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
		conn.go#L733: 		if err := c.in.changeCipherSpec(); err != nil {
		conn.go#L734: 			return c.in.setErrorLocked(c.sendAlert(err.(alert)))
		conn.go#L739: 			return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
		conn.go#L753: 			return c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
		conn.go#L767: 		return c.in.setErrorLocked(errors.New("tls: too many ignored records"))
		conn.go#L1025: 		return nil, c.in.setErrorLocked(fmt.Errorf("tls: handshake message of length %d bytes exceeds maximum of %d bytes", n, maxHandshake))
		conn.go#L1082: 		return nil, c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
		conn.go#L1091: 		return nil, c.in.setErrorLocked(c.sendAlert(alertUnexpectedMessage))
		conn.go#L1222: 		return c.in.setErrorLocked(errors.New("tls: too many non-advancing records"))
		conn.go#L1239: 		return c.in.setErrorLocked(c.sendAlert(alertInternalError))
		conn.go#L1242: 	newSecret := cipherSuite.nextTrafficSecret(c.in.trafficSecret)
		conn.go#L1243: 	c.in.setTrafficSecret(cipherSuite, newSecret)
		conn.go#L1280: 	c.in.Lock()
		conn.go#L1281: 	defer c.in.Unlock()
		conn.go#L1449: 	c.in.Lock()
		conn.go#L1450: 	defer c.in.Unlock()
		handshake_client.go#L373: 	c.in.version = vers
		handshake_client.go#L672: 	c.in.prepareCipherSpec(c.vers, serverCipher, serverHash)
		handshake_client_tls13.go#L365: 	c.in.setTrafficSecret(hs.suite, serverSecret)
		handshake_client_tls13.go#L511: 	expectedMAC := hs.suite.finishedHash(c.in.trafficSecret, hs.transcript)
		handshake_client_tls13.go#L525: 	c.in.setTrafficSecret(hs.suite, serverSecret)
		handshake_server.go#L165: 	c.in.version = c.vers
		handshake_server.go#L697: 	c.in.prepareCipherSpec(c.vers, clientCipher, clientHash)
		handshake_server_tls13.go#L535: 	c.in.setTrafficSecret(hs.suite, clientSecret)
		handshake_server_tls13.go#L708: 	hs.clientFinished = hs.suite.finishedHash(c.in.trafficSecret, hs.transcript)
		handshake_server_tls13.go#L855: 	c.in.setTrafficSecret(hs.suite, hs.trafficSecret)